package com.hq.modules.sys.dao;

import com.hq.modules.sys.entity.BuildingInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;import java.util.List;
@Mapper
public interface BuildingInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BuildingInfo record);

    int insertSelective(BuildingInfo record);

    BuildingInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BuildingInfo record);

    int updateByPrimaryKey(BuildingInfo record);

    List<BuildingInfo> selectAllByRegionId(@Param("regionId") Integer regionId);

    List<BuildingInfo> getBuildingInfo(BuildingInfo buildingInfo);
}